// Squall Sound
// (c) jimon game studio

#ifndef JEH_CSOUND_SQUALL
#define JEH_CSOUND_SQUALL

#include "ISound.h"
#include "IBuffer.h"

#include "Config_Engine.h"

#ifdef JE_SOUND_SQUALL

namespace je
{
	namespace sound
	{
		//! Squall Sound
		class CSound_Squall:public je::sound::ISound
		{
		private:
			//! Sound Id
			s32 Sound;

			//! Channel Id
			s32 Channel;

		public:
			//! Constructor
			CSound_Squall(s32 SoundId);

			//! Destructor
			~CSound_Squall();

			//! Play
			void Play();

			//! Stop
			void Stop();

			//! Pause
			void Pause(u1 Enable = true);

			//! Is Playing
			u1 IsPlaying();

			//! Set Looped
			void SetLooped(u1 Looped);

			//! Is Looped
			u1 IsLooped();

			//! Set Volume
			void SetVolume(s32 Volume);

			//! Get Volume
			s32 GetVolume();
		};
	}
}

#endif

#endif
